package com.example.model.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 入库单
 */
@Data
@TableName("in_form_detail_")
@AllArgsConstructor
@NoArgsConstructor
public class InFormDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "my_id_", type = IdType.ASSIGN_ID)
    private String myId;

    /**
     * 表单ID
     */
    @TableField("in_form_id_")
    private String inFormId;

    /**
     * 物资ID
     */
    @TableField("materials_id_")
    private String materialsId;

    /**
     * 物资名
     */
    @TableField("materials_name_")
    private String materialsName;

    /**
     * 物资单价
     */
    @TableField("price_")
    private Double price;

    /**
     * 物资数量
     */
    @TableField("amount_")
    private Integer amount;
}
